﻿using ProtoBuf;

namespace Remoting.Reactive.ProtoBuf
{
    [ProtoContract]
    public sealed class BinaryExpressionDto : ExpressionDto
    {
        [ProtoMember(1)]
        public ExpressionDto Left { get; set; }
        [ProtoMember(2)]
        public ExpressionDto Right { get; set; }
        [ProtoMember(3)]
        public MethodInfoDto Method { get; set; }
        [ProtoMember(4)]
        public LambdaExpressionDto Conversion { get; set; }
    }
}
